package com.dyz.leetcode._04_bitOperation;

public class _136_singleNumber {
    public int singleNumber(int[] nums) {
        int res = 0;
        for (int num: nums){
            res = res^num;
        }
        return res;
    }
}
